It looks like what it's going to do is create a folder, and then search that folder for exe's but if the folder already exists it will search that folder ...
This guide will walk you through extracting icon images from an executable (EXE) file using 7-Zip. This method allows you to access icon resources within ...
The IconsExtract utility scans the files and folders on your computer, and extract the icons and cursors stored in EXE, DLL, OCX, CPL, and in other file types.